﻿using System;
using System.Collections.Generic;
using Devbridge.IPolice.DomainModel;

namespace Devbridge.IPolice.ServiceContracts
{
    public interface IPoliceOfficerService : IDisposable
    {
        void RemovePoliceOfficerById(int id);

        IList<PoliceOfficer> GetPoliceOfficers(string firstName = null);

        void AddPoliceOfficer(PoliceOfficer policeOfficer);

        void RemovePoliceOfficerByLastName(string lastName);

        void UpdatePhoneNumberForAll();

        IList<PoliceOfficer> GetPoliceOfficerWithCrimes();
    }
}